$(document).ready(function() {
	$("#demo").validate({
		rules:{
			"term.termName": {
				required: true,
				maxlength: 30
			},
			"term.belongYear": {
				required: true	    		
			}
		}
	});
});